﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocketLibs
{
	public class Server
	{
		public Dictionary<string, Client> Clients
		{
			get;
			set;
		}

		public void Start() { }

		public void Stop() { }

		public void SendMsg(string UID, string xmlText) { }

		public void KickOut(string UID) { }

		public void PingToClients() { }

		public virtual void OnClientIn() { }

		public virtual void OnStartComplete() { }

		public virtual void OnMsgSendComplete() { }

		public virtual void OnPingComplete(List<Client> onlineUsers,
			List<Client> discUsers) { }

		public virtual void OnError(ServerException sex) { }
	}
}
